<template>
  <button @click="openModal">
    <slot>连接钱包</slot>
  </button>
</template>
<script setup lang="ts">
import { useConnectModal } from '../../hooks/useConnectModal'

const { openConnectModal } = useConnectModal()

const openModal = () => {
  openConnectModal()
}

</script>

<style lang="scss" scoped>
button {
  cursor: pointer;
}
</style>
